package com.three.vip.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.three.core.entity.UserBalanceLog;
import com.three.core.entity.UserDetail;
import com.three.core.vo.R;
import com.three.vip.service.UserDetailService;
import com.three.vip.vo.CustomerSearchFormVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：JinShiYan
 * @date ：Created in 2025/3/12 21:16
 * @description：
 * @modified By：
 * @version:
 */
@RestController
@RequestMapping("/vip/userDetail")
public class UserDetailController {

    @Autowired
    private UserDetailService userDetailService;

    @PostMapping("/DetailManagement")
    public R<IPage<UserBalanceLog>> DetailManagement(@RequestBody CustomerSearchFormVo customerSearchFormVo) {
        return userDetailService.DetailManagement(customerSearchFormVo);
    }
}
